package com.vogue.supplymall.account.domain.model;

import javax.persistence.Entity;
import javax.persistence.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by 崔岳  on 2017-11-29. <br>
 * 开通系统唯一码记录表
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "base_code")
public class BaseCode extends BaseEntity implements Serializable{

	/** 注册渠道（1公网注册 2内部测试 3内部客户） */
	private Integer channel = 1;
	
	/** 空闲标志（0否 1是） */
	private Boolean idleflag = false;
	
	/** 系统唯一号 */
	private Long syscode = 0L;
	
	/** 系统备注 */
	private String sysdemo = "";

	/** 是否开通了卖家身份 */
	private Boolean sellerflag = false;
	
	/** 申请开通卖家身份的时间 */
	private Date besellerdate;
	
	public Integer getChannel() {
		return channel;
	}

	public void setChannel(Integer channel) {
		this.channel = channel;
	}

	public Boolean isIdleflag() {
		return idleflag;
	}

	public void setIdleflag(Boolean idleflag) {
		this.idleflag = idleflag;
	}

	public Long getSyscode() {
		return syscode;
	}

	public void setSyscode(Long syscode) {
		this.syscode = syscode;
	}

	public String getSysdemo() {
		return sysdemo;
	}

	public void setSysdemo(String sysdemo) {
		this.sysdemo = sysdemo;
	}

	public Boolean getSellerflag() {
		return sellerflag;
	}

	public void setSellerflag(Boolean sellerflag) {
		this.sellerflag = sellerflag;
	}

	public Date getBesellerdate() {
		return besellerdate;
	}

	public void setBesellerdate(Date besellerdate) {
		this.besellerdate = besellerdate;
	}	

}
